graph: replace deprecated persistent_identifier method
Use the new SWHID naming convention instead of SWH PID.