private UUID registerObject(final Object object) {
        UUID id = UUID.randomUUID();
        registerObject(object, id);
        return id;
    }
private UUID registerObject ( final Object object ) { UUID id = UUID . randomUUID ( ) ; registerObject ( object , id ) ; return id ; }
Registers an object in this model identified by a newly created id.

@param object
The object to register.
@return The generated id.