Handle samples with null identifiers