Replaced primary key with slug. refs #7468

Replaced the use of a digital object's primary key with its
slug.