Stav dette: Trace element partitioning and defects in perovskites