peg: add debugging help
generate: restructure to make UID work
readme: elaborate example