A firearm may have a plurality of power-consuming accessories that can be attached to the weapon. The transform determines a basis function index from a physiological signal obtained through a physiological sensor. The electronic settlement ID is, for example, an electronic money number.