Return const ref to RouteDistinguisher and EthernetSegmentId

Change-Id: Ic50c59e9d79a772b05ae271e5cce0ec847381e16