ENH: Trial identification scheme
FIX: Test for id_types