Return const ref to RouteDistinguisher and EthernetSegmentId

Change-Id: I1dbfd5a8b24fe19d82088ac9b235e3347a85ae93