Fix id method, add perltidy

What about a test?