Simplify valid Identifier detection