Legal responsibility for the acts of others: A logical analysis