Issue #2: sequential id

first cut of the sequential cookie generator.
not referenced yet anywhere in the code but has unit tests.