Reworked all identifier quoting detections

Otherwise, trying to manage `debian-sys-maint` will fail miserably, quoted or not.

Fixes #609