Fix pfc_generate_id() to convert UUID without hyphen correctly