class_docstr: A class for controlling the naming of objects.
  
  The purpose of this class is to control the naming of objects with respect
  to the `NameSpace` to which they belong to. This prevents conflicts that
  arise in the naming of similar objects under different contexts.
  
  Parameters
  ----------
  name : str, optional
      The name of the object.
  
  Attributes
  ----------
  name : str, optional
      The name of the object.
class_docstr_tok: ["A","class","for","controlling","the","naming","of","objects",".","The","purpose","of","this","class","is","to","control","the","naming","of","objects","with","respect","to","the","`","NameSpace","`","to","which","they","belong","to",".","This","prevents","conflicts","that","arise","in","the","naming","of","similar","objects","under","different","contexts",".","Parameters","--","--","--","--","--","name",":","str",",","optional","The","name","of","the","object",".","Attributes","--","--","--","--","--","name",":","str",",","optional","The","name","of","the","object","."]
docstr: Renames the instance with respect to the current `NameSpace`.
  
  Parameters
  ----------
  name : str
      The new name to give to the instance.
  sep : str
      The separator to put between the name of the `NameSpace` and the
      new name of the instance (e.g. ns:/example).
  
  Returns
  -------
  `Named`
      The instance that was renamed.
docstr_tok: ["Renames","the","instance","with","respect","to","the","current","`","NameSpace","`",".","Parameters","--","--","--","--","--","name",":","str","The","new","name","to","give","to","the","instance",".","sep",":","str","The","separator","to","put","between","the","name","of","the","`","NameSpace","`","and","the","new","name","of","the","instance","(","e.g",".","ns",":","\/example",")",".","Returns","--","--","--","-","`","Named","`","The","instance","that","was","renamed","."]
code: def rename(self, name: str, sep: str = ":/") -> "Named":
      """Renames the instance with respect to the current `NameSpace`.
  
      Parameters
      ----------
      name : str
          The new name to give to the instance.
      sep : str
          The separator to put between the name of the `NameSpace` and the
          new name of the instance (e.g. ns:/example).
  
      Returns
      -------
      `Named`
          The instance that was renamed.
  
      """
      if len(Named.namespaces) > 0:
          name = Named.namespaces[-1] + sep + name
      self.name = name
      return self
  
imports: import inspect
  from abc import abstractmethod
  from typing import Generic, Iterable, TypeVar, Dict, Any, Callable, List, Tuple
  from tensortrade.core import Observable
  from tensortrade.feed.core.accessors import CachedAccessor
  from tensortrade.feed.core.mixins import DataTypeMixin
label_desc: Use image node_id 2 for calling the Named obj's underlying member method code with example usage: obj.rename(name, sep) and returns: self