Making sample id non-unique across studies

Created an issue for this #439