Return const ref to RouteDistinguisher and EthernetSegmentId

Change-Id: I26086cf8c7f8858da2fff8128a6111f038cf7f30