Sense and Reference in Frege's Logic