function getMemberPropertyName(memberExpression) {
  return memberExpression.property.type === 'Identifier'
    ? memberExpression.property.name
    : memberExpression.property.value;
}
@param {MemberExpression} memberExpression
@returns {string} the name of the member in the object expression, e.g. the `x` in `namespace.x`