pub fn resolve_alias(device: &str, config: &Config) -> String
Resolve an alias to its device address, or return the original if not an alias.