Speaking from experience I know it is hard not to define yourself by the people around you, but it's deadly.
What helped (and continues to help) me is this question: Do you want to be that person?
As in, "do you want to be the person who sits in the office chatting and surfing facebook all day? or do you want to be the person who other people look to to get things done?"
The point is, look at yourself from outside. Decide how you want to act (for me, thinking about how I want to be perceived helps here). Then make it happen. Stop waiting for the people around you to make you into the person you want to be.