Fix to sample received

Now used a method to retrieve uuid rather than Moose attribute.
Stops bug where samples were being given the same uuid because
we had only made one request.