code: def create(self, typ, identifier, parent=None):
          
          refobj = self.create_refobj()
          self.set_typ(refobj, typ)
          self.set_id(refobj, identifier)
          if parent:
              self.set_parent(refobj, parent)
          return refobj
docs: Create a new refobj with the given typ and parent
  
          :param typ: the entity type
          :type typ: str
          :param identifier: the refobj id. Used to identify refobjects of the same parent, element and type in the UI
          :type identifier: int
          :param parent: the parent refobject
          :type parent: refobj
          :returns: The created refobj
          :rtype: refobj
          :raises: None