Law, economics and the commons