code: public static String toVariableName(Object o, String defaultValue) {
  	String str = toString(o, null);
  
  	if (str == null || !Decision.isVariableName(str)) return defaultValue;
  	return str;
      }
docs: cast a Object to a Variable Name
  
  @param o Object to cast
  @param defaultValue
  @return casted Variable Name