Remember that your username and nickname are not the same thing and thus any restrictions on either one may not apply to the other.
In general, keep usernames to lower-case, alpha-numeric text.
To set a username (ident): /identd on <usermame>
Example: /identd on dood