Split string from identifier checking in the AST