What's my role? Modelling responsibility for AI-based safety-critical systems