DCI role assignment with Scala macro