Similar Items: Modeling Credit Losses for Multiple Loan Portfolios