The origin of term X dates back to 16th century England, when spirits were taxed at different rates depending on their alcohol content. Spirits were tested by soaking a pellet of gunpowder in them and then setting the pellet on fire. Id X, a term commonly seen on alcohol bottles.