Return const ref to RouteDistinguisher and EthernetSegmentId

Change-Id: I038b527cbb2edeca7d3c9e35d06d35ff282447df