Pretty sure I am right I remember trying to code a nick changing script and giving up because of this behaviour. Basically if you reconnect after having some timeout or your nick is in use you are now using your anick so /anick will change your current nick as will /nick.