Mode Engineering and Functional Enhancement in Piezoelectric-on-Silicon MEMS Resonators with Magnetic Field Sensing Applications