Issue #19304 Fix REST resource id to work with natural key.
Merge pull request #326 from bendiy/master

Issue #19304 Fix REST resource id to work with natural key.