Support non-standard ids for Users.

Custom user models might have different id field names. Using pk is recommended anyway.