public static boolean isValidFormalName(String formalName) {
		if (formalName.length() == 0) {
			return false;
		}
		for (int i = 0; i < formalName.length(); ++i) {
			char c = formalName.charAt(i);
			if (!Character.isLetterOrDigit(c) && c != '_' && c != '.' && c != '-') {
				return false;
			}
		}
		return true;
	}
Determine if the desired formal name is a valid identifier
@param formalName is the formal name to check
@return true if the name is valid
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/SpecExtension.java