Applying the golden rule in a tribalistic world