Return const ref to RouteDistinguisher and EthernetSegmentId

Change-Id: I23f64bcafdaaf4b9264f4b48cc8f9cd0146aeaa4