Return const ref to RouteDistinguisher and EthernetSegmentId

Change-Id: I91207fd164e3378d7861bf332f6a0695202e1f7c