docs: private int getLayoutId(final IPerson person, final IUserProfile profile) {
          final Hashtable<Integer, UserProfile> profiles = getUserProfileList(person);
          int layoutId = profile.getLayoutId();
          Set<Integer> layoutIds = getAllNonZeroLayoutIdsFromProfiles(profiles.values());
          if (!layoutIds.isEmpty()) {
              layoutId = layoutIds.iterator().next();
          }
          if (layoutIds.size() > 1) {
              // log that only one non-zero layout id assumption has been broken
              logger.error(UNSUPPORTED_MULTIPLE_LAYOUTS_FOUND, person.getID());
          }
          return layoutId;
      }