code: public static void setId(Object object, Object id) {
  		try {
  			Field idField = getIdField(object.getClass());
  			if (idField != null) {
  				idField.set(object, id);
  			}
  		} catch (IllegalAccessException | IllegalArgumentException e) {
  			throw new LoggingRuntimeException(e, logger, "setting Id failed");
  		}
  	}
docs: Set the value of the <code>id</code> in the given object
  
  @param object object containing a public <code>id</code> field. Must not be <code>null</code>
  @param id the new value. Can be <code>null</code>.