Luminescence From Localized States in Solids: A First‐Principles Perspective | Synapse