Java: now sending agent name as an identifier in init method.