Override assign_pid rather than monkeypatch ActiveFedora