Add indices on name columns