Ensure that attachment ids are stored as absolute integers
Merge pull request #36 from mboynes/media-id-storage

Ensure that attachment ids are stored as absolute integers