Change typed id in order to support subform select one or new situation

Related discussion: https://groups.google.com/forum/#!topic/hobousers/sY_fyOTCVr8

I have also updated the integration tests to support the latest chromedriver.