go into console and type in status. This will bring everyone's steam ID up.

Having said that, using !ban "username" "time" will work as a steamid ban.