add Thread::getKeyOfCaller, static version of Thread::getKey