How to hide user IDs from server logs

We use Piwik to analyze server log data. Hence the User ID is the actual username. We want to give some user access to our Piwik data who should not be able to see the User ID. I found a way to anonymize the IP, but not the User ID.

Is there a way beside modifying the user ID in the log files before importing them to piwik?