protected CompoundName unalias(CompoundName nameOrAlias) {
        if (aliases.isEmpty()) return nameOrAlias;
        CompoundName properName = aliases.get(nameOrAlias.getLowerCasedName());
        return (properName != null) ? properName : nameOrAlias;
    }
Returns the standard name for an alias, or the given name if it is not a registered alias

@param nameOrAlias the name to check if is an alias
@return the real name if an alias or the input name itself
container-search/src/main/java/com/yahoo/search/query/properties/PropertyAliases.java