support ParenthesizedExpression in types.getIds