Add support for Kohana primary key method