Generating and displaying a name index