A man arrested on suspicion of two assaults and impersonating a police officer in Silsden has been released on bail.