String equivalence classes

cc @mwhelan
Awesome! Thanks, Rob.