Added helper to generate an identifier string, based on the MD5 of a pas...

...sed-in object, and applied that helper at several locations in the cat3 and cat1 templates.

This helps ensure that IDs for these templates are unique, and conform to the HL7 CDA requirements for template IDs, while also being deterministic.