This is really upsetting to me and I'm sorry it occurred. I'm sure it has affected many others on the site, to hear about it.
Yes, perhaps in chat or otherwise you have little by little given out information that otherwise needed to be kept private. If in posts only, then anyone reading--even the public at large--could have put it together.
Plus remember there are the full spectrum of mentally unwell people here (members and guest readers) and some do keep track of others as part of their disorders or whatever.
I used to take notice when someone posted something I felt was too personal regarding being able to locate them... and sent a PM re like Hey did you know you posted your home town in your profile, and then just posted about what courses you're taking at xxx college? Anyone who is into that stuff can find a person IRL that way.
I'm glad you were okay, and that it turned out okay "in a way" but what a hassle you had! Be well and take care, okay?