NXP-13073: avoid duplicated ids for tree and grid context menus