BUGFIX: Fixing 'resourceUri' when using an attribute name which is different than the resource name.