Yes, because initially all references are already unique for objects.
You can come up with as many methods as you like, but the reference is the path (under the hood), and that is what we ultimately need.
remark
Be careful with Rename: if suddenly there are two objects with the same name, the game will crash.