The sentence that you are evaluating is itself grammatically incorrect which leads to the problem...
One cannot end a sentence with a preposition.
The sentence "Who are you an attorney for?" should instead be "For whom are you serving as an attorney?"
The sentence "Who are you an attorney for?" should instead be "For whom are you serving as an attorney?"