Return const ref to RouteDistinguisher and EthernetSegmentId

Change-Id: I54fd7e830aa04150a5d739f76f9692bb54a5a4c7