From a bit of my own googling there is an application for for the issuing of a tax ID number to people who are not resident or required to register their abode in Germany. They will post the ID to a foreign address. I just don't quite know where you would send this form lol:
Formular-Management-System der Bundesfinanzverwaltung
www.formulare-bfinv.de