Best solution is after selling the account, the seller must make a public notice stating that he/she has sold his/her account.
Well that would be great if everyone complied with it and also people didn't leave negative feedback for known bought/sold accounts, but some people wont. People are too scared to reveal they purchased an account in case it gets negbomed, and those that purchased an account for nefarious purposes would never admit to it in the first place. The best thing we can do is stay vigilant and protect yourself (use escrow etc).