static int getId(Type type) => _repositoryType[type] ?? (throw ArgumentError('No Type information found for type $type'));