Specs: move findId() to TreeScope since it wouldn't be O(1) on Element

Review URL: https://codereview.chromium.org/686243002