Toby would pee when men that were strangers to him came into our home. He had no history of abuse, he has just always been a little shy with strangers, especially men! One thing that helped Toby was that he was crate trained. He really looked at his crate as his den, safe place. So, when we knew the situation was going to arise we would put him in his crate and leave the door open. We let him decide if he wanted to come out to meet and greet or stay in his safe place. While he is still a little shy, he no longer pees. ITA with the pp's that it's a confidence thing. I know Toby's situation was not nearly as troublesome as your situation (all the time), but maybe creating some safe places helped build Toby's confidence?? Maybe that could help Bailey, too.