getByName: giving priority to matches by 'name' over 'altSpelling'