Fix iOS id

Selector override must happen outside the doFind function. If it's left inside
doFind, then waitForCondition will cause selector to be undefined.

Fix https://github.com/appium/appium/issues/1128