Return const ref to RouteDistinguisher and EthernetSegmentId

Change-Id: I5a46028ba166b9fde5d110d685a08fbc04f57758