Merge pull request #261 from evansb/id-gen
Store max id in DataStore. Fixes #201

(main@99723c6f069f61ce2340ea822d11049ad14d9447)