private static boolean isLegalName(String value, Project project) {
                return LanguageNamesValidation.isIdentifier(XPathFileType.XPATH.getLanguage(), value, project);
            }
private static boolean isLegalName(String value, Project project)