Sample name in pattern - fix for #5