If they disclose who they are hiring for then what's to stop a candidate applying to the company directly? Cuts out the recruiter and they lose their fee. I've known this has happened to a few friends when they've dealt with recruiters who were stupid enough to disclose this in the first e-mail.
Bingo. It's not the only problem though. There is a surprisingly large number of recruiters posing as developers in order to find out who the competition is recruiting for, your reason, coupled with this is the sole reason why recruiters never disclose their client.
Wow, I didn't know this! Cheeky buggers :)
If you are a desirable company working with interesting technology, and a recruiter does an offensive job trying to recruit, that reflects badly on the company who hired the recruiter.
The companies should stipulate rules for the recruiters to earn the recruiting fee. Rules like: in the first email and and solicitation such as on a list, you must disclose who you hiring for, the nature of the project, the technologies involved, etc.
Companies could even resolve this issue by issue a company email like [email protected] that forwards leads to the appropriate recruiter. It's not a perfect solution, but any solution that allows candidates to deal with the recruiter in a way that holds the recruiter accountable to the company for which they are working can only serve to raise the very very low bar we have at the moment.