Update my_model.php

with $primary_key get an error ¡Undefined property: CI::$key!