Finds the id of a menu item mong the menus in the menu bar by matching a menu name and an item name. If a matching menu item is not found, -1 is returned.
Special key-binding menu codes are stripped out of menu-name and and item-name before matching; these codes do not affect the result of the search.