This doesn't need to get backported.  It's just called `primary_key_name` in Rails 3.0.  We should just be updating identity_cache to refer to `primary_key_name`.