code: public CmsUUID getProjectId(CmsRequestContext context, int id) throws CmsException {
  
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          CmsUUID result = null;
          try {
              result = m_driverManager.getProjectId(dbc, id);
          } catch (CmsException e) {
              dbc.report(null, e.getMessageContainer(), e);
          } finally {
              dbc.clear();
          }
          return result;
      }
docs: Returns the uuid id for the given id,
  remove this method as soon as possible.<p>
  
  @param context the current cms context
  @param id the old project id
  
  @return the new uuid for the given id
  
  @throws CmsException if something goes wrong