Support non-standard ids for Users.

Custom user models might have different id field names. Using pk is recommended anyway.
Merge pull request #233 from thedrow/patch-1

Support non-standard ids for Users