URN parsing and rendering according to RFC 2141