code: @Deprecated 
  	private String idSuffix(String name, DomainObject to) {
  		if (useIdSuffixInForeignKey()) {
  			Attribute idAttribute = getIdAttribute(to);
  			if (idAttribute != null) {
  				String idName = idAttribute.getDatabaseColumn().toUpperCase();
  				String convertedName = convertDatabaseName(name);
  				if (idName.equals(convertedName) && idName.startsWith(to.getDatabaseTable())) {
  					idName = idName.substring(to.getDatabaseTable().length());
  				} else if (idName.startsWith(convertedName)) {
  					idName = idName.substring(convertedName.length());
  				}
  				if (idName.startsWith("_")) {
  					return idName;
  				} else {
  					return ("_" + idName);
  				}
  			}
  		}
  		return "";
  	}
docs: Moved to DbHelper
  @deprecated