Get all registered ids of a command and its parent classes
either a command or a command identifier
ids of the command
Get all registered ids of a command and its parent classes