Adding setAttribute pass through function

Adding a bit more to the API to allow a pass through of the attribute

I think it makes sense just to pass through directly to the raw field and let a dev decide if they want to add one to the id field manually