This is not strictly correct, although it was not before this PR, too. After a dot character, a new identifier should start, so we should check for `isIdent()` instead of `isIdentPart(ch) || isNumber(ch)` after dot.