code: public static String getTimestampForId(String context, String ip) {
      	BDBMap bdbMap = getContextMap(context);
          String dateStr = bdbMap.get(ip);
          return (dateStr != null) ? dateStr : Timestamp.currentTimestamp().getDateStr();
      }
docs: return the timestamp associated with the identifier argument, or now
  if no value is associated or something goes wrong.
  @param context
  @param ip
  @return timestamp string value