attach and detach take arrays

Make clear that attach and detach take arrays as id input