Cleaned up handling of the primary_key argument of AutoField.__init__.