Use PK for lists method

Fix for #995.

This will only use the primary key when the `lists` method is called from an Eloquent query, the base Query builder does not know about the key and may only guess, which would mess things up.