Magnetic Properties and Ion Beams: Why and How