Return const ref to RouteDistinguisher and EthernetSegmentId

Change-Id: Iecc9b74ee4b54d7f5ec32fe69380fd444235dcbe