This is a solved problem. Police get subpoenas to services to release identifying information regularly.