getthreadidentity Description: This function demonstrates the usage of the getthreadidentity API. Example: -- Get the thread identity local identity = getthreadidentity() print("Thread identity:", identity)