For a variety of applications such as gift giving and product update notifications to name but two, having a name2key LSL function where we can provide an avatar name and be returned the key is becoming increasingly needed (one that doesn't rely upon the avatar being in the same sim as the script making the request).
Many SL developers have been maintaining their own databases, interrogated using email or XML-RPC, but as the growth of the world continues to increase, keeping these anywhere close to being complete is a task that cannot be done.
I'm having to keep one such database but coverage is, unfortuantely, dropping below 50% of all avatars and getting worse all the time. It is simply impossible, even pulling upon other people who have made publicly available name2key databases available, to keep their coverage anything other than average. My particular current application for it is with my skate vending machines that have a built in gift facility.
With that being said, what is the probability of such an LSL function being added? And, if so, are we talking near-term or long-term? If this is not to be included, is there any particular reason why?