If MenuItemmi has a parent, the indexValue indicates
what index mi is in its parent's set of MenuItem children.
Remarks
BuildMenuID() formats the index as a three-digit number. This puts an upperbound on the
number of MenuItems any menu can contain. Precisely, no single menu may contain more than 1,000
MenuItems.