Replace deprecated method pid with id
Merge pull request #214 from projecthydra/no_pids

Replace deprecated method pid with id