I think this has happened in the UK before. It may be the same companies trying it in different countries. It's possible they did trace it to your connection and the ISP had to give then your details, but some may just send out random letters
Some info here http://copyright-infringement-notice.com/
This from the UK government
Something on scams