Move the if-statement related to BAD_IDENTIFIER
Move the if-statement related to BAD_IDENTIFIER

Change the priority of 'BAD_IDENTIFIER' if-statement, because in some
situations server return a status showing bad_identifier and client have
to make sure that gets this error first.

dotamin/migmig