cmds/id: fixed args + err checks