Determines which ab test and variant identifier belongs to