Accept scalar types for IDs