allow more name types to match in autocomplete

Auditors: blackmad