The Physics of Dilute Magnetic Alloys