When submitting (for example) a HTML with multiple entries, it results in multiple key:value pairs with the same key (see https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select_multiple).
Hunchentoots post-parameters would look like '(("id" . "abc") ("id" . "def"))'
Binding the id variable is probably done with a '(post-parameter "id")', which just does an assoc and returns the first matching entry, as it's assumed to be an alist. It would however be useful to bind the variable "id" as a list with ("abc" "def")