CORE POLARIZATION IN SOLIDS: FORMULATION AND APPLICATION TO SEMICONDUCTORS