Hmm!
I have in the past, cleaned it up with methylated spirit, then the proper solvent weld cleaner or just the cleaner without the methylated spirits. Going careful not to let it drip or mark the pipe elsewhere.
Then apply Gap filling solvent cement, whilst gently easing the strap on bos away from the pipe, just enough to get a bit of filler in between the strap and the pipe and then let it go to return to where it was . Then leave it to set.
What you are trying to do, is make it clean so the solvent weld sticks to both the pipe and the bos strap. By easing it away and then letting it go, you are trying to squeeze a bit of filler under the lip of the bos strap.
It usually sets okay, providing everything is properly cleaned including under the bos strap lip.
Incidentally why has it come apart? Is it an expansion problem? You may have to put some extra clips on the pipework and make sure the expansion is controlled by making proper allowances. Has the pvc been exposed to a lot of sun?
It may be brittle from UV exposure and crack if you cement it in?
Incidentally using gap filler if its done right makes it look a proper job. But if its done wrong it looks as though the "Silicon Kid" has been about.