Domain modeling with SQLAlchemy:  one-to-many relationships assignment.