Seol mar théacs é seo: Trace element partitioning and defects in perovskites