Add support for counter based chunk ID generation