parameters: (var_type, name=None)
docstring: Get the name of a given type of variable.
  
      If the name is not given, this function automatically generates a
      name according to the given type of variable.
  
      Parameters
      ----------
      var_type: str
          The type of the variable in string.
  
      name: str, optional
          The name specified by the user.
  
      Returns
      -------
      new_name: str
          The name of the variable.
docstring_summary: Get the name of a given type of variable.
docstring_tokens: Get the name of a given type of variable .
function: def get_name(var_type, name=None):
      """Get the name of a given type of variable.
  
      If the name is not given, this function automatically generates a
      name according to the given type of variable.
  
      Parameters
      ----------
      var_type: str
          The type of the variable in string.
  
      name: str, optional
          The name specified by the user.
  
      Returns
      -------
      new_name: str
          The name of the variable.
      """
      if name is not None:
          return name
      else:
          if VarName.name_dict.get(var_type) is None:
              VarName.name_dict[var_type] = 0
              return var_type + "0"
          else:
              counter = VarName.name_dict[var_type] + 1
              VarName.name_dict[var_type] = counter
              return var_type + str(counter)
function_tokens: def get_name ( var_type , name = None ) : if name is not None : return name else : if VarName . name_dict . get ( var_type ) is None : VarName . name_dict [ var_type ] = 0 return var_type + "0" else : counter = VarName . name_dict [ var_type ] + 1 VarName . name_dict [ var_type ] = counter return var_type + str ( counter )