Replace id by pk in Indexable