Changed implementation of interface id maintenance in evaluation logic
to a more lightweight model, where there is no copying involved.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>