Get the registered id of the command
either a command or a command identifier
id of the command, or null if no id could be determined
null
Get the registered id of the command