[ms-inline asm] Refactor the parsing of identifiers.  No functional change
indended.
Part of rdar://13663589