Testing source confusion and identification capability in Cherenkov Telescope Array data