Text this: Element partitioning during core formation