Sergio Perez had a nightmare time in qualifying at his home event in Mexico City, finishing way off the pace to qualify 18th despite raucous support from the grandstands