@Override
        public Class<?> typeClass()
        {
            return factory == null ? mapClass : factory.typeClass();
        }
Register a {@link Delegate} and assign an id.
<p>
Delegate ids start at 1.
protostuff-runtime-registry/src/main/java/io/protostuff/runtime/IncrementalIdStrategy.java