Making sample id non-unique across studies

Created an issue #440