Add @netcarver PR #454 (with a couple minor changes) to have a hookable repeater label generation function.