Return const ref to RouteDistinguisher and EthernetSegmentId

Change-Id: I8573050f158c9004b4ee7ba828d1394925ce36a5