I'm pretty sure that Hoster Tully is based off of Henry "Hotspur" Percy from Shakespeare's Henry IV part one. The Percy's are loosely analogous to the Book's Tully's. Hotspur's rebellion is similar to Hoster's refusal to surrender. And Richard III is sort of Stannis.