Anonymous Markets and Optimal Policy ∗