modified identity templates added, etc

I took a quick stab at shortening the file by handling the attributes
slightly differently.  A similar approach could probably be taken for
the element templates.
shortened @relationType

no conditional statement needed, since we only need to lower-case the
current attribute value.
fixed the comment copy section
example, with less element templates
Merge pull request #1 from fordmadox/master

modified identity templates added, etc
--
I like where you're going with this. I can see a few other things to simplify, but I'll take a stab at them!