Hmm, could we do something with tcl namespaces to allow having two procedures with the same name? E.g. create a separate namespace, based on the OID, for each procedure. I wonder how the stack trace would look like then.
I didn't do full test, but I think so tcl uses for error messages fully qualified name