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