public String classifyPosition(final Position position) {
final Security security = resolveSecurity(position);
if (security instanceof CreditDefaultSwapOptionSecurity) {
final CreditDefaultSwapOptionSecurity cdsOption = (CreditDefaultSwapOptionSecurity) security;
final ExternalId underlyingId = cdsOption.getUnderlyingId();
final Security underlying = _securitySource.getSingle(underlyingId.toBundle());
final String redCode = ((CreditDefaultSwapSecurity) underlying).getReferenceEntity().getValue();
final Organization organisation = _organizationSource.getOrganizationByRedCode(redCode);
return organisation.getObligor().getObligorShortName();
} else if (security instanceof CreditDefaultSwapIndexSecurity) {