simplify isIdent