Taming multiple valency with density functionals: A case study of defective ceria | Synapse