<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create(self, typ, identifier, parent=None):
 """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 """

        refobj = self.create_refobj()
        self.set_typ(refobj, typ)
        self.set_id(refobj, identifier)
        if parent:
            self.set_parent(refobj, parent)
        return refobj