[ENH] Text substitution override

Add an ability to override the text label based on another attribute value

e.g. when attribute XYZ = ‘one’ then middle label = ‘1’