Updated identity and moved getAutoIncrementAttribute out into core waterline.