I now know where to extract the persistent id from, so have made the appropriate change