Text this: Modelling containment mechanisms in the immune system for applications in engineering