One important factor in the decision is what position is the player in. Lots of players will only raise from early postion with high pocket pairs or AK. If an early player bets from early position and contiues the bet with that board I would fold. He likely has AA,KK,QQ, or JJ. The only overcards he would have would be AK.

Another important factor is the player himself. If he has both a slightly high pfr% and a high VPIP but not excesively high and he is raising from late position then I think its more likely that he has an overpair. You would probably raise if you had 88 if you felt he would fold. This type of player is raises with A10 or AJ from late position with few limpers but is not likely to raise with 56 suited. This player will also fold to aggression. Raise him 3x pot.

Another thing you want to look for are betting patterns. Some players will bet a certain sized bet when feel strong and another sized bet when they feel weak. If you notice that a player will make a slightly larger than pot-sized bet when they miss and a 1/2 sized to 3/4 sized pot when they have a great hand then you have him. However, some players bet weak when they are weak and some players bet strong when they are weak so this pattern is player specific.