Fortune: Factorize names checking.