how about the "same" method?
Code:
> system(ref1, "help");
system(<ref>, ...): extended functionality for reference/shared data <ref>
system(<ref>, count) - number of references pointing to <ref>
system(<ref>, enumerate) - unique number for identifying <ref>
system(<ref>, undefined) - checks whether <ref> had been assigned
system(<ref>, "help") - prints this information message
system(<ref>, "typeof") - actual type referenced by <ref>
system(<ref1>, same, <ref2>) - tests for identic reference objects
> system(ref1, "same", ref2);
0
>reference ref3 = ref1;
> system(ref1, "same", ref3);
1