On the Philosophical Significance of Frege's Theorem