public String first() {
        if (compounds.isEmpty()) return "";
        return compounds.get(0);
    }
Returns the name before the first dot. If there are no dots the full name is returned.
container-core/src/main/java/com/yahoo/processing/request/CompoundName.java