Correlating μ parameter and right-handed neutrino masses in N = 1 supergravity