How religious analogies mimic political structure