The Measurement of Solar Magnetic Fields