Fix id method, add perltidy
Merge pull request #2 from marcusramberg/fix_edit

Fix id method, add perltidy