The Economics of Legal History