code: public void setBaseNameForFunctionInstanceId(String baseName, DifferentialFunction function) {
          baseNameForFunctionInstanceId.put(function.getOwnName(), baseName);
      }
docs: Sets a base name for the function id.
  This is used for when calling {@link #generateOutputVariableForOp(DifferentialFunction, String)}
  for ensuring original names for model import map to current samediff names
  when names are generated.
  
  @param baseName the base name to add
  @param function the function to declare a base name for.