Return const ref to RouteDistinguisher and EthernetSegmentId

Change-Id: I690cd58ec3cbc32161d5ae443a82b8bfae924ab0