Add private pk and associations accessors

To support sequel syntax
Add item_id accessor
Add lock service