Add 'id' sub-command.