Tag magnetic nanoparticle demulsification