add new Symfony factory syntax support

This resolves #21.
technically, the method expects an id, not a Reference, so you should pass ``(string) $factory[0]``