Tag flocculation and demulsification