Handle uniqueId for unsaved lists.