Heavy fermion systems and high Tc superconductors: Some common features