Add BK_SAMLE_RANGE attribute

Remove BK_SAMPLE_OFFSET and BK_SAMPLE_END in favour of the new attribute.