OAK-1545: NPE in SegmentTracker

Use Segment.id instead of Segment.refids in getSegmentId() got prevent the NPE

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1578386 13f79535-47bb-0310-9956-ffa450edef68