We might be best off to just let the validator tell the user that we're expecting an identifier and not a URL here, and let the user put in the right input.  I don't think we can reliably reverse-engineer all possible ``url`` values to pick out an identifier - assuming what they entered is even a valid URL for that service - and it's probably not worth any more time trying to do something fancier.