espra/ident: add normalisation/validation of user/space refs.