The electronic structure of the Nd3+ ion in Nd2Fe14B