Refactor treatment factor such that labels are derrived from the pairs instead of the treatment factors

Issue: GCP-9743
Reviewer: Dan Jao
Validate with pair instead of treatment factor

Issue: GCP-9743
Review: Dan Jao
Merge branch 'branch_treatment_factor_refactor'