The teenager , identified as a Bedouin high school student , had been armed with a pistol .