The type_id<T>() function is now thread-safe