Not sure how it works, but from the look of it, to the remaining plastic that sticks out I would rivet a metal strap bent to point down, rather than forward. I would use 2 pop rivets and hopefully regain the previous functionality.
The plastic bit that broke up curves up. From the side the plastic part looks like a J or a fish hook. I wonder if a pop rivet can make it through 4 mm's of hard plastic?