This has been bugging me for a couple years now. So in Mac OS X you can assign your own Keyboard Shortcuts ( in System Preferences > Keyboard > Keyboard Shortcuts ) by typing in the exact name of the menu item to which you intend to bind the keystrokes. So what are you supposed to type if:
a) the menu is nested?
b) there are two menu items with the same name that do different things?
FYI: the particular reason I'm looking for this atm is because I want a quick way to show/hide the bookmark bar in Firefox (eg: instead of pressing the jelly bean in the top right of the screen). I'm using a small display so it would be convenient.