you got me pegged - you have assessed me correctly
from the New Oxford American Dictionary on my computer
verb (pegs, pegging, pegged)
1 [with object and adverbial] fix or make fast with a peg or pegs: drape individual plants with nets, pegging down the edges.
2 [with object] fix (a price, rate, or amount) at a particular level.
• informal, chiefly North American form a fixed opinion of; categorize: the officer probably has us pegged as anarchists.