Return const ref to RouteDistinguisher and EthernetSegmentId

Change-Id: Ic4d5c7b8afebdefa1805e22b59e761c38510b63f