Uniqueness of models in persistent homology: the case of curves