Return const ref to RouteDistinguisher and EthernetSegmentId

Change-Id: I1493d1ccf5dfeb8ef97b8d4c429c492cc61eddf5