Pipeline for clustering names