Index members by id and type