Return const ref to RouteDistinguisher and EthernetSegmentId

Change-Id: Iba6d24e346758f931817006640efc3b0ea2b3bb8