Transform current document object using the rename_doc API. The design
of the API should allow for easy action queueing.
Defined as `rename(self, name: str, merge: bool = False, force: bool = False)`
Usage:
In [1]: doc = frappe.get_doc("Person", "5a188f66c1")
In [2]: doc.rename("5a188f66c2")
In [3]: doc.name
Out[3]: '5a188f66c2'