Fix removing menu dividers

Menu dividers don't have commands (for retrieving id), so store divider id for later reference.

This is for https://github.com/adobe/brackets/issues/6300. Pull request https://github.com/adobe/brackets-shell/pull/405 is related to, but not required for, this one.