Dissecting and modelling galaxy assembly bias