On Consistent Neighborhood Views in Wireless Sensor Networks