Yes, those pieces don't usually "come off", they break
. Pics may help but it may just be broken, I guess you could try super glue or something but I wouldn't, or you could try rigging it up with electrical tape so the cable stays in, but again, I would probably not. Just depends whether you come to the conclusion it is bricked/not worth the repair cost, then it may be worth a shot.
As a side note, once I determine any piece of hardware (printer, laptop, etc..) is out of warranty and not worth the cost of professional repair, I find it does not hurt to try and repair myself, as long as your careful, you gotta watch out for things like capacitors in high power electronics, like PSU's, which can give you a nasty and even fatal shock. As an example, my co-worker fixed a out of warranty laptop simply by trying a replacement CMOS battery which was 3 bucks and saved a rather expensive (at its time) laptop.