support procs for parent label

Note that to have more than one child menu item nested under a parent
(when using a proc), you need to pass an id to associate them both.