Maybe we can just refactor this all out into a "primaryKeyForEntityDescription" method?