Prefixing each sample name with the study id

Fixes #523