BKE_id_full_name_get doesn't ensure unique output, use a simple method to create a unique key, guaranteed not to collide.