Class Metadata: Throw a nice error message when the identifier field is not available, instead of letting the user confused with PHP's Undefined index and another fatal PHP error.
Added the FloatType.
Merge pull request #66 from marnusw/float_type

Added the FloatType.
Merge pull request #62 from phaikawl/master

Throw an error when the identifier field is not available