McLaren should thank Sergio Perez for playing a part in their first Constructors' title since 1998, says Jan Lammers.