Thanks for mentioning my note there. I went back and read it and it's not very eloquent. Must have been late at night. That's my excuse and I'm stickin with it.
Early in my career, when we carved COBOL on stone tablets, I was loaned to a project where every caller passed its own name along with other parameters, and many programs used the caller name in the logic. If called by A do this, if called by B do that. These mysterious tests communicated nothing about the reasons for different behavior and it wound up being a nightmare to keep all the tests up to date as you called old programs in new ways.
This question comes up fairly often and it always makes me lose sleep thinking about those old rat's nest programs. You can find out who called you but if you really think you need to ask the gang here for another solution.