Invalid id errors in removeById and updateLocForId

I added an error condition to removeById, and changed the error message to something that seemed more meaningful than "invalid id". To me, "Invalid id" suggested that the id parameter was malformed.