public static IntegrationEntityId createIdFromFunctionArg(String id, String prefix) {
String strippedPrefix = StringUtils.removeEnd(prefix, ".");
if ("s".equals(strippedPrefix)) {
return new SourceId(id);
} else if ("t".equals(strippedPrefix)) {
return new TargetId(id);
} else if ("op".equals(strippedPrefix)) {
return new OperationId(id);
} else if ("sc".equals(strippedPrefix)) {
return new ScriptId(id);
} else if ("m".equals(strippedPrefix)) {