Raise error for invalid fixture id types.