Given a list of names, find the one that matches a list of aliases.
Inspired by and very similar to sncosmo.alias_map.
sncosmo.alias_map
names (list[str]) – List of names that are available
aliases (list[str]) – List of aliases to search through. The first one that is available will be returned.
alias – Matching alias is one was found, or None otherwise.
str or None