In this segment of my TV show we walked through a whole variety of specialty glues. Now what is the difference between a glue and an adhesive -- only vocabulary.
What is important is to know what you want to glue to what, for your glue needs to stick to both. You need to know if the final joint will be rigid or flexible, for a ridged glue in a flexible joint will crack, and a flexible glue in a ridged application will let it move or creep. You also need to know if you have a tight fit or do you need a glue that is capable of filling the gap. A bit of study at the glue counter in the renovation store will answer most of those questions.
One of my favorite but little appreciated "glues" is actually a putty with very strong adhesive properties -- Epoxy Putty. It can be used to fill unlimited gaps and stick two things together as well. It can also be used to replace broken off pieces. Give it a spike or a hole to grip onto, and then sculpture it to replace the original. Most of these putties are two different coloured sticks that you simply fold together over and over like making good pie shells, until there is only one colour. Then it is ready for use. When it is done it can be sanded, scraped, even tapped for threads. If you want something to slide in and out of this new piece, wax the part you don't want to have stick and then mold the putty right around it for a perfect socket.