Text this: Recognizing Boundaries in Wireless Sensor Networks Based on Local Connectivity Information