Added tests ensuring that the identifier attribute is being assigned to generated derivatives.