find by id checks for legal id