A phosphorus-containing PET ionomer: from ionic aggregates to flame retardance and restricted melt-dripping