Return const ref to RouteDistinguisher and EthernetSegmentId

Change-Id: Ifdaeff6b08ea80e7aafd402f79c34f7488dbea74