code: private String getLabel(EntityIdValue entityIdValue,
  			TermedDocument termedDocument) {
  		MonolingualTextValue labelValue = termedDocument.getLabels().get("en");
  		if (labelValue != null) {
  			return labelValue.getText().replace("\"", "\"\"");
  		} else {
  			return entityIdValue.getId();
  		}
  	}
docs: Returns the CSV-escaped label for the given entity based on the terms in
  the given document. The returned string will have its quotes escaped, but
  it will not be put in quotes (since this is not appropriate in all
  contexts where this method is used).
  
  @param entityIdValue
  the entity to label
  @param termedDocument
  the document to get labels from
  @return the label