change identification method to work with jQ2.2

needs testing with 1.x