fixes #3684 - add IDs to top level dropdown menus