Resonant X-ray photoelectron spectroscopy: identification of atomic contributions to valence states. (11th May 2022)