Theories of Electronic Energy Levels in Molecules and Solids