Returns the alias map, building it lazily on first call.
Map<String, String> getAliasMap() { return _aliasMap ??= _collectAliases(scripts, ''); }