def _set_member_short_name(ctx):
    """Sets ensemble member short names.

    """
    for member in ctx.doc.members:
        if not member.short_name and len(member.ensemble_ids):
            member.short_name = member.ensemble_ids[0].value
