Rename referenced Nodes

Is there any chance to rename the Nodes coming from a referenced file, or at least change the namespace after they once have been loaded?
Renaming them in the referenced file itself is not an option for me because I use multiple references of the same file.

In reference options window you can set "resolve with string" and type in the namespace

Ok, that's right, but my question is:
How can I rename the referenced nodes or change their initial namespace after they once have been loaded and animated.

Just rename objects into different namespace ( which must exist )

rename namespace1:something "namespace2:something"

Hm, I'm wrong. You can't do that with referenced objects.

One possible way is to unload existing reference but keep anim curves. Then load it again under different namespace and assign curves. It shouldn't be to hard to write this.

Btw, why do you need to rename objects? If you have name clashes you can group all objects from each referenced file together. That will virtually create a kind of a namespace.
When grouping referenced object just take care to select only nodes that are on top of the hierarchy.