Makes EntityConfig into case class (rather than a mere type alias) so that the caller can provide its own EntityId. Gives the EntityId an id field and a name field