protected int onGetClassId() {
        return classId;
    }
Returns the class identifier for which this class is registered. It is important that all subclasses match the
return value of this with their call to {@link #registerClass(int, Class)}.

@return The class identifier.
vespajlib/src/main/java/com/yahoo/vespa/objects/Identifiable.java