WELD-1421 - Ugly NPE when passivation capable bean has a null id

https://issues.jboss.org/browse/WELD-1421