Return const ref to RouteDistinguisher and EthernetSegmentId

Change-Id: I3529613588e11e0ffe5f57ef63ea98e79a08980b