use flake ids for internal id generation
Merge pull request #1367 from crate/h/flakeids

use flake ids for internal id generation