if (cachedEids == null) {
String lookupKey = BloombergDomainIdentifierResolver.toBloombergKey(distributionSpec.getMarketDataId());
Set<String> fields = Sets.newHashSet(
BloombergConstants.FIELD_ID_BBG_UNIQUE, // TODO, this is necessary because otherwise the request would not get any real fields
BloombergConstants.FIELD_EID_DATA);
ReferenceDataProviderGetRequest rdRequest = ReferenceDataProviderGetRequest.createGet(Collections.singleton(lookupKey), fields, true);
ReferenceDataProviderGetResult refData = _refDataProvider.getReferenceData(rdRequest);
ReferenceData result = refData.getReferenceData(lookupKey);
if (result.getErrors().size() > 0) {
throw new OpenGammaRuntimeException("Error while obtaining entitlement information: " + lookupKey);