util: Emancipate id_wellformed() from QemuOpts