configurable length of generated id