Issue 23: Support array index selection in function call