When building a relationship Belongs to Many with Pivot Data the lack of a table name causes an sql ambiguous ID error.