A theory of property rights : with application to the California gold rush