setting ID when finding, using nil when no ID available