Definition of pigeonhole:
one of an array of compartment
s for sorting post, messages etc. at an office, or college (for example); a hole, or roosting place for pigeon
"fred was disappointed at the lack of post in his pigeonhole."
; especially to limit or be limited to a particular category, role
"fred was tired of being pigeonholed as a computer geek."