Is there a way to get the menu item id of the menu item hightlighted say when someone hits the F1 key?

Thanks for any info.
C. Zieler