Returns the IEEE 802.15.4 Source or Destination PAN ID. For a message received over the Thread radio, specifies the Source PAN ID when present in MAC header, otherwise specifies the Destination PAN ID. For a message to be sent over the Thread radio, this is set and used for MLE Discover Request or Response messages.