Text this: Portfolio credit risk and macroeconomic shocks