<!--
Thanks for opening an issue! A few things to keep in mind:

- The issue tracker is only for bugs and feature requests.
- Before reporting a bug, please try reproducing your issue against
  the latest version of Electron.
- If you need general advice, join our Slack: http://atom-slack.herokuapp.com
-->

* Electron version: 1.6.15
* Operating system: Linux

### Expected behavior

Inside a `BrowserView`, I want to access the [`view.id`](https://github.com/electron/electron/blob/master/docs/api/browser-view.md#viewid-experimental). I would have expected `remote.getCurrentWindow()` to return the `view`.

### Actual behavior

Calling `remote.getCurrentWindow()` returns `null`.

---

I understand if you want to expose a different API here since the method _is_ called <code>getCurrent**Window**()</code>. However, there should be _some_ way to access the `view` from within a `BrowserView` process.
atom/browser/api/atom_api_browser_view.cc
return weak_map_id();
}
void BrowserView::SetAutoResize(AutoResizeFlags flags) {
  view_->SetAutoResizeFlags(flags);
}
void BrowserView::SetBounds(const gfx::Rect& bounds) {
  view_->SetBounds(bounds);
}
void BrowserView::SetBackgroundColor(const std::string& color_name) {
  view_->SetBackgroundColor(ParseHexColor(color_name));
}
v8::Local<v8::Value> BrowserView::WebContents() {
  if (web_contents_.IsEmpty()) {
    return v8::Null(isolate());
  }
  return v8::Local<v8::Value>::New(isolate(), web_contents_);
}
void BrowserView::BuildPrototype(v8::Isolate* isolate,