Added ResolvePrimaryKey method which takes any interface passed to
scope and uses reflect to look for a structure tag named 'primary_key'.
If found the value of structure tag is saved in an attribute *pkey* of
*Scope* type. The same function is called whenever a new instance of
*Scope* type is created.