Remove deprecated method primary_key_name so this works with Rails 3.2.x.

Signed-off-by: Steve Finkelstein <sf@stevefink.net>