datapid_to_name function to generate package.name from data PID