Atom feed entries should have consistent IDs

Because of the way we provide and sort objects for Atom feeds, the
Edition is what turns up in the builder. This provides an inconsistent
atom:id as it's based on the record's primary key, which will obviously
change from version to version.

These changes should keep the atom:id stable across new versions.