Text this: Trace element partitioning and defects in perovskites