something was funny with this hook
use new template tags
add support for assoc arrys and fix non-string IDs.