code: def get_bank_ids_by_assessment(self, assessment_id):
          
          # Implemented from template for
          # osid.resource.ResourceBinSession.get_bin_ids_by_resource
          mgr = self._get_provider_manager('ASSESSMENT', local=True)
          lookup_session = mgr.get_assessment_lookup_session(proxy=self._proxy)
          lookup_session.use_federated_bank_view()
          assessment = lookup_session.get_assessment(assessment_id)
          id_list = []
          for idstr in assessment._my_map['assignedBankIds']:
              id_list.append(Id(idstr))
          return IdList(id_list)
docs: Gets the list of ``Bank``  ``Ids`` mapped to an ``Assessment``.
  
          arg:    assessment_id (osid.id.Id): ``Id`` of an ``Assessment``
          return: (osid.id.IdList) - list of bank ``Ids``
          raise:  NotFound - ``assessment_id`` is not found
          raise:  NullArgument - ``assessment_id`` is ``null``
          raise:  OperationFailed - unable to complete request
          raise:  PermissionDenied - authorization failure occurred
          *compliance: mandatory -- This method must be implemented.*