code: public static String getTitle(String id, String language, String name) {
          if (id != null && id.startsWith(Constants.FRAGMENT_ID_USER_PREFIX)) {
              final Locale locale = localeManagerFactory.parseLocale(language);
              return messageSource.getMessage(name, new Object[] {}, name, locale);
          }
          return name;
      }
docs: This method checks whether id indicates that it is a layout owner's structure element (or at
  least derived from it). If it is the case, then it asks {@link MessageSource} to resolve the
  message using layout element's name. Otherwise it returns the name. Note that layout owner's
  element identifier format is 'uXlYnZ' where X stands for layout owners id, Y stands for
  layout id, and Z stands for element (node) identifier, hence identifiers that start with 'u'
  are considered as derived from layout owner.
  
  @param id - layout structure element's identifier.
  @param language - locale identifier.
  @param name - default layout strucute element's name.
  @return localized title in case of layout owner's element or default name otherwise.