Return const ref to RouteDistinguisher and EthernetSegmentId

Change-Id: Ifee8853f1122a1d3cacfba0936aefeda1cc7a8ce