Based on personal experience with others, for some I think the diagnosis is a substitute for an identity that then brings belonging into a group, filling a need for them that has been otherwise unfilled.