code: function getLinearizedBaseContracts (id, contractsById) {
    return contractsById[id].attributes.linearizedBaseContracts.map(function (id) { return contractsById[id] })
  }
docs: returns the linearized base contracts of the contract @arg id
  
  @param {Int} id - contract id to resolve
  @param {Map} contracts  - all contracts defined in the current context
  @return {Array} - array of base contracts in derived to base order as AST nodes.