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.
Merge pull request #1129 from bootstraponline/ios_id

Fix iOS id