Scan and sub-arrays selections are purely integer ID based selections. The syntax for the specification of both these is therefore identical.