On that logic, mirc should undate your nick to a new nick BEFORE the irc server says it accepted the change on nick as well. Now thats not going to happen now is it.
Im saying update the identifer before triggering the event not before the server message is received.