Order electricity and surface orientation in nematic liquid crystals