fix-errids

An attempt to make our error and warning IDs more uniform in structure.  Also, fix up the URLs in the copyright notices.

This closes #348 and #109.