PLD: abstract simplify and pluralize interval string code