Update readme and add auto id generator

I misread your comment on #9 and implemented an id generator.