A HARPS-N mass for the elusive Kepler-37d: a case study in disentangling stellar activity and planetary signals