fixes #3684 - add IDs to top level dropdown menus

Replaces #1038