code: public CmsUUID readIdForUrlName(CmsRequestContext context, String name) throws CmsException {
  
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          try {
              return m_driverManager.readIdForUrlName(dbc, name);
          } catch (Exception e) {
              CmsMessageContainer message = Messages.get().container(Messages.ERR_READ_ID_FOR_URLNAME_1, name);
              dbc.report(null, message, e);
              return null; // will never be reached
          } finally {
              dbc.clear();
          }
  
      }
docs: Reads the structure id which is mapped to the given URL name, or null if the name is not
  mapped to any structure IDs.<p>
  
  @param context the request context
  @param name an URL name
  
  @return the structure ID which is mapped to the given name
  
  @throws CmsException if something goes wrong