So I get this question all the time, and decided today I would answer it. You see, I tend to add the client name, or the subject's name, my own logo or watermark, and even the occasional censor bar, to my images in as creative of a manner as I can. This is just a little thing I enjoy doing, and never gave it another thought when I started it. However, since then I've been asked several dozen times how I go about doing it, so today I made up a quick tutorial covering exactly how I do it.
Nothing too complex here, but like a lot of my tutorials, the takeaway should be more about making the effort towards the look you want, and not any type of shortcut trickery. Get in, get it done, put the effort, and make it look awesome. The steps shown in this tutorial are directly related to composite image creation, among other things. To be honest, this is the quickest and simplest use of masks, so I decided to show a few different variations on it in the tutorial.
Keep in mind, like almost every single thing you can do with Photoshop, there are different ways to go about masking in a title or graphic element (or another part of a photo) using different techniques. This is just one way to go about doing what I do, because so many wonderful people have asked me about it.
If this tutorial helps you learn more about detailed masking, then you may eventually be on your way towards full blown composite image creation soon enough. Don't forget to check out my educational videos and events, which are likely coming to a city near you soon.
And finally, here are some sample images I've added titles to in a composited, masked manner: