Enforce unique custom template function rule.

I have no idea how not to not include the no-op commits from July 12, 13, and 14.

As for the enforcing the rule, I haven't found a way in the current code to open two libraries at the same time. Opening with library copy etc doesn't touch the template functions. I tested it my forcing a function name collision in one library.