Add simple string hash function
Append .count to anchors with the same qualified symbol name

Don't write anchors for matching ditto symbols. This helps to avoid
renumbering subsequent anchor overloads when adding a ditto item.
Matching symbols with a ditto comment don't need anchors so much
because they are near a closely-related anchor.
Add getEponymousParentTemplate function