mui.DoMethod(id, "Rename", treenode$, newname$)
Treenode$ specifies the node which should be renamed. This can be the string identifier of a node or one of the following special values:
Active