How can I rename an object using nodes?

You can do it by making an editor utility widget. Made this yesterday: