Parallels and distances between Cassirer and Frege on Logicism and Method