If there is an unacknowledged spirit hanging over '' Brokeback Mountain '' surely it is Matthew Shepard , the 21-year old University of Wyoming student who was attacked on Oct , 6 , 1998 , outside Laramie , pistol whipped by two young assailants he had met at a bar , tied to a split-rail fence with his own sneaker laces and left to die in the cold .