function getAttributesByName(attributes) {
  const names = {};
  for (let i = 0; i < attributes.length; i++) {
    const attributeInfo = ModelUtility.getAttributeInfo(attributes[i]);
    names[attributeInfo.variableName] = attributeInfo;
  }
  return names;
}
@private
@param {ModelComponents.Attribute[]} attributes
@returns {Object<string, ModelComponents.Attribute>}