Revert "LPS-50407 classPK here is the resourcePrimKey not the id"

This reverts commit 01b88d5e982c798c90b886f0d979b0f6b594819d.