Name prefix factorization