Clamp tree name length to max supported

Relatively minor tweak to the PersistitNameGenerator.

ORMs seem to like to poke the edge of this #741.