Enforcing that only single integer primary key columns can be used for the caching methods