Use better Atom ids.

Based on the recommendations in http://web.archive.org/web/
20110514113830/http://diveintomark.org/archives/2004/05/28/
howto-atom-id which, despite being old and deleted, seems
to still be the standard reference for how to generate
Atom ids.  Oh, internet.