Use existing relpath:getFragmentId() function to get the fragment ID.