Defect-Induced Magnetism in Solids