code: private UUID registerObject(final Object object) {
          UUID id = UUID.randomUUID();
          registerObject(object, id);
          return id;
      }
docs: Registers an object in this model identified by a newly created id.
  
  @param object
  The object to register.
  @return The generated id.