Electronic Shielding ofPr3+andTm3+Ions in Crystals