ps_thread_id()

Adding the function ps_thread_id() which returns the Performance Schema thread id for the connection id passed as an argument