Provide facilities for passing the repository identifiers back, to allow integration with other repository interfaces
fixed unit tests.
allow invalid object errors to be passed correctly across webservice