code: public static String getTableNameForAppid(String appIdentifier) {
  		if (StringUtils.isBlank(appIdentifier)) {
  			return null;
  		} else {
  			if (isSharedAppid(appIdentifier)) {
  				// app is sharing a table with other apps
  				appIdentifier = SHARED_TABLE;
  			}
  			return (App.isRoot(appIdentifier) || appIdentifier.startsWith(Config.PARA.concat("-"))) ?
  					appIdentifier : Config.PARA + "-" + appIdentifier;
  		}
  	}
docs: Returns the table name for a given app id. Table names are usually in the form 'prefix-appid'.
  @param appIdentifier app id
  @return the table name