I noticed the problem when changing my code from a custom menu icon implementation to PureBasics (new) implementation and this command was missing the imageID

For obvious reasons we want that there too!
For the next release maybe?

And while we're at it, why not a command to change the icon of a menu item?
We might want a different icon after it has been clicked.