Fixed primary key field detection for peewee

Peewee allow to create PrimaryKeys like IntegerField(primary_key=True)