Extended support for identifying interaction in InteractionHistory by
support interaction ids.
Added support for extracting new interaction history.

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