Validation for card IDs