Thanks foci3 you are exactly right, i actually found that out just before I read your post.
The 2 plastic clips apparently broke off so now it wont stay in place. Honestly i don't want to take the car to the dealer because if i have to drive another courtesy vehicle i will probably drive it off a cliff.
Having said that can i just get some epoxy and put it back in place?
I would use a small amount of silicone sealer, not epoxy, so that if it needs to be removed it can be. This must be removed first to get the alternator out. If you use something permanent it will have to be broken to remove.