[lib] Create function to determine thread label from thread type
[lib] Create function to determine thread label from thread type

Test Plan: Flow, tested with next diffs

Reviewers: ashoat, palys-swm

Reviewed By: ashoat, palys-swm

Subscribers: zrebcu411, Adrian, atul, subnub

Differential Revision: https://phabricator.ashoat.com/D658

Ashoat/squadcal,Ashoat/squadcal,Ashoat/squadcal,Ashoat/squadcal,Ashoat/squadcal,Ashoat/squadcal,Ashoat/squadcal