Implement datachef.ids.idgen