analyse: check for invalid characters in IDs (Lothar)