You can use =<nick> to have x translate it to userid, same for a lot of other features, but when it comes to the neccessary like op/deop/kick/voice you can't, how about the option to do the reverse effect in those commands ? E.g. if =bla is used in the command X will translate userid to nick and perform the command on that one.
Most commands like op/voice/devoice give you a notice telling the user who performed that command, this is NOT the case with deop. Cosmetic issue ? :)