code: @Deprecated 
  	private void checkIdAttribute(DomainObject referencedClass, Attribute idAttribute) {
  		if (idAttribute == null) {
  			throw new IllegalArgumentException("Referenced class " + referencedClass.getName() + " doesn't contain 'id' attribute");
  		}
  	}
docs: Moved to DbHelper
  @deprecated