Big Switch: Check for 'id' in port before lookup

Check for the presence of the 'id' key before trying
to do a lookup based on the value. This is necessary
because a 'fields' param to get_port(s) may exclude
the 'id' field before the host_id lookup.

Conflicts:
	neutron/tests/unit/bigswitch/test_restproxy_plugin.py

Closes-Bug: #1358668
Change-Id: If30567d5deaeabd2de6c6287fac7a81695a41cc5
(cherry picked from commit 295efa00081c770a57a5541652d9d3ffd5c1074d)
Merge "Big Switch: Check for 'id' in port before lookup" into stable/icehouse