Port of base_bank based on PCaetan work

`p_acc_ids._check_ccp_duplication` ?