Determines whether the model (or its parent) requires camelcasing. This is required
for pivot models whereby they actually depend on their parents for this feature.
public function isCamelCase()
{
return $this->enforceCamelCase or isset($this->parent) && method_exists($this->parent, 'isCamelCase') && $this->parent->isCamelCase();
}