class_docstr: Represents an identity morphism.
  
  Explanation
  ===========
  
  An identity morphism is a morphism with equal domain and codomain,
  which acts as an identity with respect to composition.
  
  Examples
  ========
  
  >>> from sympy.categories import Object, NamedMorphism, IdentityMorphism
  >>> A = Object("A")
  >>> B = Object("B")
  >>> f = NamedMorphism(A, B, "f")
  >>> id_A = IdentityMorphism(A)
  >>> id_B = IdentityMorphism(B)
  >>> f * id_A == f
  True
  >>> id_B * f == f
  True
  
  See Also
  ========
  
  Morphism
class_docstr_tok: ["Represents","an","identity","morphism",".","Explanation","===========","An","identity","morphism","is","a","morphism","with","equal","domain","and","codomain",",","which","acts","as","an","identity","with","respect","to","composition",".","Examples","========",">",">",">","from","sympy.categories","import","Object",",","NamedMorphism",",","IdentityMorphism",">",">",">","A","=","Object","(","``","A","''",")",">",">",">","B","=","Object","(","``","B","''",")",">",">",">","f","=","NamedMorphism","(","A",",","B",",","``","f","''",")",">",">",">","id_A","=","IdentityMorphism","(","A",")",">",">",">","id_B","=","IdentityMorphism","(","B",")",">",">",">","f","*","id_A","==","f","True",">",">",">","id_B","*","f","==","f","True","See","Also","========","Morphism"]
code: def __new__(cls, domain):
      return Basic.__new__(cls, domain)
  
imports: from sympy.core import S, Basic, Dict, Symbol, Tuple, sympify
  from sympy.core.symbol import Str
  from sympy.sets import Set, FiniteSet, EmptySet
  from sympy.utilities.iterables import iterable
label_desc: Use image node_id 1 for calling the IdentityMorphism obj's underlying member method code with example usage: obj.__new__(cls, domain) and returns: Basic