I present Ned Markosian's episodic account of identity under a sortal, and then use it to sketch a new model of the Trinity. I show that the model can be used to solve at least three important Trinitarian puzzles: the traditional ‘logical problem of the Trinity’, a less-discussed problem that has been dubbed the ‘problem of triunity’, and a problem about the divine processions that has been enjoying increased attention in the recent literature.