Add configuration option to specify what attribute is the unique identifier.

Added simple configuration attribute called 'idAttribute' that specifies which attribute is the id attribute.
Instead of writing serializers and deserializers this seemed logical to me.

Updates the isNew method and url builder resource.

Updated specs too.