Get thread name from stats thread_id

I am trying to figure out if I am getting any stack overrun issues for an application. I am printing the thread stats for the heap, as well as the stack.

I was wondering if there is a way to get the thread name from the mbed_stats_stack_t thread_id field.