Return const ref to RouteDistinguisher and EthernetSegmentId

Change-Id: I32f82f1ce5a11bc16824eb56d18a21571dde0f40