Pull sample identifier from data file.

Horrible hacky version to demonstrate proof-of-concept on too little sleep by baby coder. Next: the nice variant.