[BUGFIX] Ensure unique ids of nested menus