[BUGFIX] Ensure unique ids of nested menus

Fixes #624 by appending ``lvl-x`` to the parent tag's id if set.