default int getUniqueId() {
        return getUniqueName().hashCode();
    }
API for a type declared in a specific document

@author arnej
config-model/src/main/java/com/yahoo/documentmodel/OwnedType.java