master : make sure a menu identifier is defined or generated on creation