Support for id attribute on menuItem