[ATR-20515] createLegName helper function
Splits out this helper function into TrigCompositeUtils.
Note: Not yet runtime tested, relying on CI overnight here.
Splits out this helper function into TrigCompositeUtils.
Note: Not yet runtime tested, relying on CI overnight here.