make sure memberships going into ES are translated

pass the memberships plus the inflated documents contained within them
through translation on the way into ES. As part of this we now convert
_id to id on memberships going into ES but this makes them consistent
with everything else.