You can also cheat by writing the name with the same color as the background on the next lines (kind of like \vphantom in LaTeX). This has the advantage of aligning based on the length of each name instead of pushing everything to the right of the longest name, while working for any font.
A better approach to achieve the same result is to do a real \vphantom by writing the text in a separate box, obtaining the width and then inserting a blank snip of the same width.
But if you use a fixed-width font, you can of course replace the names with spaces on the next lines.